#ifndef ICON_H
#define ICON_H

#include <QIcon>
#include <QColor>
#include <QPixmap>
#include <QImage>

class Icon : public QIcon
{
public:
    Icon(const QString& fileName = "", const QColor& color = Qt::black);
    QPixmap pressedPixmap(const QSize& size = QSize()) const;

signals:

public slots:

private:
    QString mFile;
    QColor mColor;
    QImage mPressedImg;

};

#endif // ICON_H
